package com.joney.backstage.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author joney123
 * @since 2018-03-01
 */
@Data
@Accessors(chain = true)
@TableName("T_ATTACHMENT")
public class Attachment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * PK_ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;
    /**
     * 初始文件名
     */
    private String originalName;
    /**
     * 文件后缀
     */
    private String suffixName;
    /**
     * 存储后名称
     */
    private String storeName;
    /**
     * 存储路径
     */
    private String storePath;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 创建人ID
     */
    private Integer createUser;
    /**
     * 删除标识(0:未删除 1:已删除)
     */
    private Integer isDelete;


}
